﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bosphorus.Migrator.Core;
using Bosphorus.Migrator.Core.MigrationFounder;
using Bosphorus.Migrator.Implementation.MigrationFounder;

namespace Bosphorus.Migrator.Facade.Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            IMigrationFounder migrationFounder = new AssemblyMigrationFounder("Bosphorus.Migrator.Facade.Demo");
            IList<IMigration> migrations = migrationFounder.GetMigrations();
            MigratorFacade.Migrate(migrations, 0, 1);
            //MigratorFacade.Migrate(migrations, 1, 0);

            Console.ReadLine();
        }
    }
}
